#include "searcher.hpp"
#include <iostream>
#include <string>

const std::string input = "./data/raw_html/raw.txt";
int main()
{
    ns_searcher::Searcher *search = new ns_searcher::Searcher();
    std::string query;
    std::string out_json;
    search->InitSearcher(input);
    while (true)
    {
        std::cout << "Please Enter You Query:";
        std::cin >> query;
        search->Search(query, &out_json);

        std::cout << out_json << std::endl;
    }
    return 0;
}